package com.itheima.demo1junit;

import org.junit.Assert;

public class PrintNumDemo1
{
    public static void PrintNum(String name)
    {
        if(name==null||"".equals(name))
        {
            System.out.println("名字不能为空");
            return;
        }
        System.out.println("名字的长度是"+name.length());
    }

}

